.login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #E6F7FF 0%, #E6F7FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.login-container::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: float 20s ease-in-out infinite;
}

.login-container::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.login-form-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 450px;
}

.login-form {
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.login-title {
  text-align: center;
  color: #333;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.avatar-section {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-container {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 4px solid #f0f0f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.avatar-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.upload-button {
  color: #1890ff;
  font-size: 14px;
  text-decoration: underline;
  padding: 0;
  height: auto;
  border: none;
  background: transparent;
}

.upload-button:hover {
  color: #40a9ff;
  text-decoration: underline;
}

.form {
  width: 100%;
}

.form-input {
  height: 48px;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  background: #fafafa;
  transition: all 0.3s ease;
}

.form-input:hover {
  border-color: #d9d9d9;
  background: white;
}

.form-input:focus,
.form-input.ant-input-focused {
  border-color: #1890ff;
  background: white;
  box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

.form-input .ant-input-prefix {
  color: #999;
  margin-right: 8px;
}

.ant-form-item {
  margin-bottom: 20px;
}

.signup-button {
  width: 100%;
  height: 48px;
  border-radius: 12px;
  background: #1890ff;
  border: none;
  font-size: 16px;
  font-weight: 600;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.signup-button:hover {
  background: #40a9ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(24, 144, 255, 0.3);
}

.signup-button:active {
  transform: translateY(0);
}

/* 登录选项样式 */
.login-options {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #f0f0f0;
}

.options-top,
.options-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.left-options {
  flex: 1;
}

.right-options {
  display: flex;
  align-items: center;
  gap: 8px;
}

.center-options {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.auto-login {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}

.checkbox-input {
  width: 16px;
  height: 16px;
  accent-color: #1890ff;
  cursor: pointer;
}

.checkbox-text {
  color: #666;
  font-size: 14px;
}

.option-link {
  color: #666;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.option-link:hover {
  color: #1890ff;
}

.divider {
  color: #d9d9d9;
  font-size: 12px;
  margin: 0 4px;
}

.info-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: #666;
  color: white;
  border-radius: 50%;
  font-size: 10px;
  line-height: 14px;
  text-align: center;
  margin-left: 4px;
  vertical-align: middle;
}

/* 响应式设计 */
@media (max-width: 480px) {
  .login-form {
    padding: 30px 20px;
  }
  
  .login-title {
    font-size: 24px;
  }
  
  .avatar-container {
    width: 80px;
    height: 80px;
  }

  .options-top,
  .options-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .right-options {
    align-self: flex-end;
  }
} 